-
Home
-
YayPricing – WooCommerce Dynamic Pricing & Discounts
-
2.1
-
Code
-
Classes
- YAYDP_Condition_Helper
Total Complexity |
82 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
394 |
Lines of code |
251 |
Logical lines of code |
183 |
Comment lines |
111 |
Methods |
12 |
Properties |
0 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_conditions() |
B |
42 |
16 |
55 |
check_cart_item() |
A |
46 |
13 |
37 |
check_shipping_region() |
A |
49 |
12 |
27 |
check_cart_subtotal_price() |
A |
48 |
10 |
33 |
check_cart_quantity() |
A |
50 |
8 |
29 |
check_payment_method() |
S |
58 |
7 |
13 |
check_customer_order_count() |
S |
58 |
4 |
15 |
check_shipping_total() |
S |
62 |
3 |
11 |
check_cart_total_weight() |
S |
62 |
3 |
11 |
check_customer_role() |
S |
62 |
2 |
11 |
check_logged_customer() |
S |
77 |
2 |
3 |
check_specific_customer() |
S |
68 |
2 |
6 |